﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;


namespace BarManager.Printer.Ticket.WCF.Security
{
    public static class UserPasswordValidator
    {
        public static bool Validate(string userName, string password)
        {
            string usr = ConfigurationManager.AppSettings["user"];
            string pass = ConfigurationManager.AppSettings["password"];

            return (userName == usr && password == pass);            
        }
    }
}
